import java.util.Scanner;

public class op08 {
    public static void main(String[] args) {
        int scor;
        Scanner input = new Scanner(System.in);
        System.out.println("输入成绩");
        scor = input.nextInt();
        if (scor >= 90){
            System.out.println("成绩为A");
        }else if(scor >= 80 && scor < 90){
            System.out.println("成绩为B");
        }else if(scor >= 70 && scor < 80){
            System.out.println("成绩为C");
        }else if(scor >=60 && scor < 70){
            System.out.println("成绩为D");
        }else{
            System.out.println("成绩为E");
        }
    }
}
